<!DOCTYPE html>
<html lang="en"
   xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:th="http://www.thymeleaf.org"
	   xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"
	   xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
<title>Home</title>


<meta charset="utf-8"/>
<!--css-->
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="css/sstyle.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="css/grid.css" type="text/css" media="screen"/>
<link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

<link rel="stylesheet" href="css/sflexslider.css" type="text/css" media="screen"/>

<script src="js/jquery-1.11.1.min.js" type="text/javascript"></script> 


<script type="text/javascript" src="js/superfish.js"></script>
<script type="text/javascript" src="js/jquery.flexslider-min.js"></script>
<!-- Bootstrap  -->
<link rel="stylesheet" href="css/bootstrap.css"/>

<script>	
			jQuery(window).load(function() {								
			jQuery('.flexslider').flexslider({
				animation: "fade",			
				slideshow: true,			
				slideshowSpeed: 7000,
				animationDuration: 600,
				prevText: "",
				nextText: "",
				controlNav: false		
			})
			  
			
					
      });
	</script>


	<!--[if lt IE 8]>
      <div style=' clear: both; text-align:center; position: relative;'>
        <a href="http://www.cssmoban.com">
          <img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
       </a>
     </div>
    <![endif]-->
    
	<!--[if lt IE 9]>
   		<script src="js/html5.js"></script>
  		<link rel="stylesheet" href="css/ie.css"> 
       <link href='http://fonts.googleapis.com/css?family=PT+Serif+Caption:400italic' rel='stylesheet' type='text/css'>
      <link href='http://fonts.googleapis.com/css?family=PT+Serif+Caption:400' rel='stylesheet' type='text/css'>
	<![endif]-->

</head>
<body>

<!--==============================header=================================-->
<header>





  <div class="line-top"></div>
  <div class="main">
    <div class="row-top">    
      <h1><a href="index"><img alt="" src="images/logo.png"/></a></h1>
      <nav>
        <ul class="sf-menu">
        </ul>
       
  <ul class="nav nav-pills">
    <li role="presentation" class="dropdown"><a href="index">Home</a></li>
  
   <li role="presentation" class="dropdown">
    	<a href="showAllFreeTable">我要点餐 </a> 
  </li>
  <li>
  <span th:if="${session.ttUserVO.userRole}=='服务员'">
  <li role="presentation" class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
      后台管理 <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
  				<li><a href="showAllFood">菜系管理</a></li>
          		<li><a href="showAllDinnertable">餐桌管理</a></li>
          		<li><a href="showAllOrder">订单管理</a></li>
    </ul>
  </li>
  </span></li>
  <li role="presentation" class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
      账户 <span class="caret"></span>
    </a>
    <ul class="dropdown-menu">
  				<li><a  href="showUser"> 修改个人信息</a></li>
          		<li><a href="showMycart">我的购物车</a></li>
          		<li><a href="logout">退出</a></li>      
    </ul>
  </li>
 
</ul>
       
      </nav>
      <div class="clear"></div>
    </div>
  </div>

</header>
<div class="copyrights">Collect from <a href="#" >Website Template</a></div>
<!--==============================content=================================-->
 <div class="container-fluid  center-container" style="margin-bottom:70px;" align="center">
            <div layout:fragment="content" >
            <!-- Bootstrap -->
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.validate.min.js"></script>
            </div>
 </div>

<!--==============================footer=================================-->
<footer>
  <div class="main">
    <ul class="soc-list">
      <li><a href="#"><img alt="" src="images/icon-1.png"/></a></li>
      <li><a href="#"><img alt="" src="images/icon-2.png"/></a></li>
      <li><a href="#"><img alt="" src="images/icon-3.png"/></a></li>
      <li><a href="#"><img alt="" src="images/icon-4.png"/></a></li>
    </ul>
   
    <div class="clear"></div>
  </div>
</footer>

</body>
</html>
